-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add initial species in core before seed mechanism #2382
Conversation
A bit more detailed explanation for future reference. Currently, when RMG tries to add pressure dependent reactions from the seed mechanism to core that are pressure dependent on the initial species, the code crashes when it tries to make the corresponding core phase(s). This is because the core phase tries to get the index of that initial species from |
8574d62
to
74ba2bd
Compare
Rebasing with updated CI |
74ba2bd
to
0835cbf
Compare
0835cbf
to
d5334ac
Compare
This pull request is being automatically marked as stale because it has not received any interaction in the last 90 days. Please leave a comment if this is still a relevant pull request, otherwise it will automatically be closed in 30 days. |
@hwpang this looks simple enough - want to try and revive this one? |
d5334ac
to
da00ae8
Compare
…l species in phase.names
…re library reactions get move to core if all reactants and products are in initial species
da00ae8
to
b772183
Compare
I will close this PR for now as I don't have time to work on it. |
Blocked by #2514 |
This pull request is being automatically marked as stale because it has not received any interaction in the last 90 days. Please leave a comment if this is still a relevant pull request, otherwise it will automatically be closed in 30 days. |
Motivation or Problem
The current initialization would fail if one uses a pyrms-based reactor with seed mechanism and the seed mechanism contains species that are the initial species. It would fail with an error related to the initial species not in the
phase.names
.Description of Changes
I moved the code block for initializing the bath gases and the initial species in front of the seed mechanism code block.